<!doctype html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0"
          name="viewport">
    <meta content="ie=edge" http-equiv="X-UA-Compatible">
    <title>常见问题</title>
    <link rel="stylesheet" href="/static/vip2/css/common.css">
</head>
<style>
    * {
        padding: 0;
        margin: 0;
        border: none;
        font-family: PingFangSC-Regular, PingFangSC;
        font-weight: 400;
    }

    .block_header {
        width: 100%;
        height: 10px;
        background: #F7F7F7;
    }

    .qa_item_container {
        /*background: #0f0;*/
        display: flex;
        justify-content: space-between;
        align-items: center;
        margin: 0 20px;
        padding: 20px 0;
        border-bottom: solid 2px #F5F5F5;
    }

    .item_title {
        /*background: #f00;*/
        font-size: 14px;
        color: #24252A;
    }

    .arrow {
        color: #9FA1AA;
        display: inline-block;
        border-top: 2px solid;
        border-right: 2px solid;
        width: 6px;
        height: 6px;
        transform: rotate(45deg);
        -ms-transform: rotate(45deg); /* IE 9 */
        -moz-transform: rotate(45deg); /* Firefox */
        -webkit-transform: rotate(45deg); /* Safari 和 Chrome */
        -o-transform: rotate(45deg); /* Opera */
    }

</style>
<body>
<div class="block_header"></div>
{foreach $qa_list as $k => $v}
<div class="qa_item_container" onclick="itemClick({$v.id})" data-id="{$v['id']}">
    <div class="item_title">{$v['title']}</div>
    <div class="arrow"></div>
</div>
{/foreach}

</body>

<script src="/static/vip2/js/common_func.js?v=1"></script>
<script>
    var domain = '{$domain}'
    var app_type = '{$app_type}'
    var version = '{$version}'

    function itemClick(id) {
        console.log(id)
        // window.location.href = '/web/vip/vip_qa_detail?id=' + id
        var link = '/web/vip/vip_qa_detail?id=' + id
        commonJsToNative('link', link, 'common_js_to_native', 'vip问题列表页')
    }

    window.onresize = function () {
        document.documentElement.style.fontSize = document.documentElement.clientWidth / 37.5 + 'px'
    }
    window.onresize();
</script>

<script src="/static/vip/js/common_statistics.js"></script>
{include file="../apps/web/view/public/sensors.html" /}
</html>
